package com.bosc.automationui.service;

import java.util.ArrayDeque;
import java.util.ArrayList;

public class TestDeque {
    public static void main(String[] args) {
        ArrayDeque<String> arrayDeque = new ArrayDeque<>();
        ArrayList<String> arrayList1 = new ArrayList<>();
        ArrayList<String> arrayList2 = new ArrayList<>();
        arrayList1.add("1");
        arrayList1.add("2");
        arrayList2.add("3");
        arrayList1.add("4");
        arrayDeque.addAll(arrayList1);
        arrayDeque.addAll(arrayList2);
        System.out.println(arrayDeque);
    }
}
